import * as client from './client'
import urlConfig from './urlConfig'

export class GetConfigRst{
    public ConfigKey: string
}
export class GetConfigRpn {
    public isSuccess: string

}

/**
 * 获取公钥
 */
export async function exec(rts: GetConfigRst) {
    const data = await client.exec(urlConfig.getConfig, rts);
    return JSON.parse(data) as client.RSM<GetConfigRpn>;
}